// console.log("webpack")
// const root = document.getElementById("root")
// root.textContent = "webpack2"

// import React from "react"
// import ReactDOM from "react-dom"
// export default function App() {
//     return (
//         <div>
//             <h2>我是react</h2>
//         </div>
//     )
// }
//
// const root = document.getElementById("root")
// ReactDOM.render(<App />, root)

import React from "react";
import ReactDOM from "react-dom";
import Home from "./Home.tsx";

export default function App() {
  return (
    <div>
      <h2>我是react</h2>
      <Home />
    </div>
  );
}

const root = document.getElementById("root");
ReactDOM.render(<App />, root);
